import request from '@/utils/request'

// 查询试剂盒记录列表
export function listReagentBox(query) {
  return request({
    url: '/product/reagentBox/list',
    method: 'get',
    params: query
  })
}

// 查询试剂盒记录详细
export function getReagentBox(boxId) {
  return request({
    url: '/product/reagentBox/' + boxId,
    method: 'get'
  })
}

// 新增试剂盒记录
export function addReagentBox(data) {
  return request({
    url: '/product/reagentBox',
    method: 'post',
    data: data
  })
}

// 修改试剂盒记录
export function updateReagentBox(data) {
  return request({
    url: '/product/reagentBox',
    method: 'put',
    data: data
  })
}

// 删除试剂盒记录
export function delReagentBox(boxId) {
  return request({
    url: '/product/reagentBox/' + boxId,
    method: 'delete'
  })
}

// 导出试剂盒记录
export function exportReagentBox(query) {
  return request({
    url: '/product/reagentBox/export',
    method: 'get',
    params: query
  })
}

